package com.tjbklx1.redis.chap05;

import java.text.Collator;
import java.text.SimpleDateFormat;
import java.util.TimeZone;

public class MyLogger {

	public static final String DEBUG = "debug";
	public static final String INFO = "info";
	public static final String WARNING = "warning";
	public static final String ERROR = "error";
	public static final String CRITICAL = "critical";

	public static final SimpleDateFormat TIMESTAMP = new SimpleDateFormat("EEE MMM dd HH:00:00 yyyy");
	public static final SimpleDateFormat ISO_FORMAT = new SimpleDateFormat("yyyy-MM-dd'T'HH:00:00");
	
	public static final Collator COLLATOR = Collator.getInstance();
	
	static {
		ISO_FORMAT.setTimeZone(TimeZone.getTimeZone("UTC"));
	}
}
